FROM alpine:latest

RUN mkdir /project

WORKDIR /project

COPY dist/ifile .
COPY config.ini .
COPY scripts/docker-entrypoint.sh .

RUN chmod 777 /project/ifile \
    && chmod 777 /project/docker-entrypoint.sh

ENTRYPOINT ["./docker-entrypoint.sh"]
# CMD [ "object" ]
